package com.yf.dxapp.module.app.controller.admin.material.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 素材信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MaterialRespVO {

    @Schema(description = "商品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2254")
    @ExcelProperty("商品id")
    private Long id;

    @Schema(description = "商品标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("商品标题")
    private String title;

    @Schema(description = "商品分类", requiredMode = Schema.RequiredMode.REQUIRED, example = "17498")
    @ExcelProperty("商品分类")
    private Long productId;

    @Schema(description = "内部产品分类", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("内部产品分类")
    private Integer productType;

    @Schema(description = "IMG-商品主图", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("IMG-商品主图")
    private String cover;

    @Schema(description = "轮播图urls", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("轮播图urls")
    private String coverImgMaterialUrl;

    @Schema(description = "商品链接（普通计划链接）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("商品链接（普通计划链接）")
    private String simpleTitle;

    @Schema(description = "商品链接（普通计划链接）", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("商品链接（普通计划链接）")
    private String url;

    @Schema(description = "推广文案", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("推广文案")
    private String promotion;

    @Schema(description = "视频链接", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("视频链接")
    private String videoUrl;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}